package com.youth.platform.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController2 {
	
	@RequestMapping("/login.html")
	public String index(){
		return "admin/login";
	}
	/**
	 * home首页读取用户的角色，取得相应的菜单权限
	 * @return
	 */
	@RequestMapping("/home.html")
	public String home(){
		return "admin/home";
	}
	@RequestMapping("/dashboard.html")
	public String dashboard(){
		return "admin/dashboard";
	}
	

}
